<?php 
/**
 * User
 *
 * PHP version 5
 *
 * @category Controller
 * @version  1.0
 * @author   duonght <duonght@setacinq.com.vn>
 */
class UsersController extends AppController{
	
	public function index(){
		
		$this->paginate['User']['limit'] = 3;
		$this->paginate['User']['conditions'] = array(
		  'User.status' => 1
		);
		$this->set('users', $this->paginate());
	}
}
 ?>